<?php if (!defined('THINK_PATH')) exit();?><div class="bjui-pageContent">
    <form action="<?php echo U('userdata');?>" class="pageForm" data-toggle="validate">
        <input type="hidden" name="closeCurrent" value="true"  />
        <input type="hidden" name="tabid" value="<?php echo (CONTROLLER_NAME); ?>"  />
        <input type="hidden" name="uid" value="<?php echo ($uid); ?>" >
        <div class="container-fluid" style="overflow:hidden;">
            <div class="row">
                <div class="col-xs-12">
                    <fieldset style="margin:10px;">
                        <legend>用户数据授权</legend>
                        <ul class="list-group">
                        <?php if(is_array($department)): $i = 0; $__LIST__ = $department;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="list-group-item">
                            <input type="checkbox" id="userdata" <?php echo ($vo["selected"]); ?> name="data_id[]" id=""  value="<?php echo ($vo["id"]); ?>" data-toggle="icheck" data-label="<?php echo ($vo["hospital_name"]); ?>--<?php echo ($vo["name"]); ?>">
                            </li><?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </fieldset>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close">关闭</button></li>
        <li><button type="submit" class="btn-default">保存</button></li>
    </ul>
</div>